﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000CB7 RID: 3255
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class OMEOPMDBKOB : IMessage<OMEOPMDBKOB>, IMessage, IEquatable<OMEOPMDBKOB>, IDeepCloneable<OMEOPMDBKOB>, IBufferMessage
	{
		// Token: 0x170028F0 RID: 10480
		// (get) Token: 0x06009158 RID: 37208 RVA: 0x00181DA5 File Offset: 0x0017FFA5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<OMEOPMDBKOB> Parser
		{
			get
			{
				return OMEOPMDBKOB._parser;
			}
		}

		// Token: 0x170028F1 RID: 10481
		// (get) Token: 0x06009159 RID: 37209 RVA: 0x00181DAC File Offset: 0x0017FFAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return OMEOPMDBKOBReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170028F2 RID: 10482
		// (get) Token: 0x0600915A RID: 37210 RVA: 0x00181DBE File Offset: 0x0017FFBE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return OMEOPMDBKOB.Descriptor;
			}
		}

		// Token: 0x0600915B RID: 37211 RVA: 0x00181DC5 File Offset: 0x0017FFC5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OMEOPMDBKOB()
		{
		}

		// Token: 0x0600915C RID: 37212 RVA: 0x00181DD0 File Offset: 0x0017FFD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OMEOPMDBKOB(OMEOPMDBKOB other) : this()
		{
			this.kOBMCLGJJDB_ = ((other.kOBMCLGJJDB_ != null) ? other.kOBMCLGJJDB_.Clone() : null);
			this.nCPHFIDNGHE_ = other.nCPHFIDNGHE_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600915D RID: 37213 RVA: 0x00181E1C File Offset: 0x0018001C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OMEOPMDBKOB Clone()
		{
			return new OMEOPMDBKOB(this);
		}

		// Token: 0x170028F3 RID: 10483
		// (get) Token: 0x0600915E RID: 37214 RVA: 0x00181E24 File Offset: 0x00180024
		// (set) Token: 0x0600915F RID: 37215 RVA: 0x00181E2C File Offset: 0x0018002C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OOPKDEMPMFI KOBMCLGJJDB
		{
			get
			{
				return this.kOBMCLGJJDB_;
			}
			set
			{
				this.kOBMCLGJJDB_ = value;
			}
		}

		// Token: 0x170028F4 RID: 10484
		// (get) Token: 0x06009160 RID: 37216 RVA: 0x00181E35 File Offset: 0x00180035
		// (set) Token: 0x06009161 RID: 37217 RVA: 0x00181E3D File Offset: 0x0018003D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint NCPHFIDNGHE
		{
			get
			{
				return this.nCPHFIDNGHE_;
			}
			set
			{
				this.nCPHFIDNGHE_ = value;
			}
		}

		// Token: 0x06009162 RID: 37218 RVA: 0x00181E46 File Offset: 0x00180046
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as OMEOPMDBKOB);
		}

		// Token: 0x06009163 RID: 37219 RVA: 0x00181E54 File Offset: 0x00180054
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(OMEOPMDBKOB other)
		{
			return other != null && (other == this || (object.Equals(this.KOBMCLGJJDB, other.KOBMCLGJJDB) && this.NCPHFIDNGHE == other.NCPHFIDNGHE && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06009164 RID: 37220 RVA: 0x00181EA4 File Offset: 0x001800A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.kOBMCLGJJDB_ != null)
			{
				num ^= this.KOBMCLGJJDB.GetHashCode();
			}
			if (this.NCPHFIDNGHE != 0U)
			{
				num ^= this.NCPHFIDNGHE.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06009165 RID: 37221 RVA: 0x00181EF9 File Offset: 0x001800F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06009166 RID: 37222 RVA: 0x00181F01 File Offset: 0x00180101
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06009167 RID: 37223 RVA: 0x00181F0C File Offset: 0x0018010C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.kOBMCLGJJDB_ != null)
			{
				output.WriteRawTag(42);
				output.WriteMessage(this.KOBMCLGJJDB);
			}
			if (this.NCPHFIDNGHE != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.NCPHFIDNGHE);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06009168 RID: 37224 RVA: 0x00181F68 File Offset: 0x00180168
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.kOBMCLGJJDB_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.KOBMCLGJJDB);
			}
			if (this.NCPHFIDNGHE != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.NCPHFIDNGHE);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06009169 RID: 37225 RVA: 0x00181FC0 File Offset: 0x001801C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(OMEOPMDBKOB other)
		{
			if (other == null)
			{
				return;
			}
			if (other.kOBMCLGJJDB_ != null)
			{
				if (this.kOBMCLGJJDB_ == null)
				{
					this.KOBMCLGJJDB = new OOPKDEMPMFI();
				}
				this.KOBMCLGJJDB.MergeFrom(other.KOBMCLGJJDB);
			}
			if (other.NCPHFIDNGHE != 0U)
			{
				this.NCPHFIDNGHE = other.NCPHFIDNGHE;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600916A RID: 37226 RVA: 0x00182028 File Offset: 0x00180228
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600916B RID: 37227 RVA: 0x00182034 File Offset: 0x00180234
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 42U)
				{
					if (num != 96U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.NCPHFIDNGHE = input.ReadUInt32();
					}
				}
				else
				{
					if (this.kOBMCLGJJDB_ == null)
					{
						this.KOBMCLGJJDB = new OOPKDEMPMFI();
					}
					input.ReadMessage(this.KOBMCLGJJDB);
				}
			}
		}

		// Token: 0x0400376F RID: 14191
		private static readonly MessageParser<OMEOPMDBKOB> _parser = new MessageParser<OMEOPMDBKOB>(() => new OMEOPMDBKOB());

		// Token: 0x04003770 RID: 14192
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003771 RID: 14193
		public const int KOBMCLGJJDBFieldNumber = 5;

		// Token: 0x04003772 RID: 14194
		private OOPKDEMPMFI kOBMCLGJJDB_;

		// Token: 0x04003773 RID: 14195
		public const int NCPHFIDNGHEFieldNumber = 12;

		// Token: 0x04003774 RID: 14196
		private uint nCPHFIDNGHE_;
	}
}
